package com.decent.common.oss.constants;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * 对象存储常量类
 *
 * @author wangyx
 */
public final class OssConstants {
    /**
     * 最大上传限制：10MB
     */
    public static final Long MAX_FILE_SIZE = 10 * 1024 * 1024L;
    /**
     * 允许上传的文件后缀
     */
    public static final List<String> ALLOW_FILE_SUFFIX = Collections.unmodifiableList(
            Arrays.asList("JPG", "PNG", "JPEG", "PDF"));
}
